home *** CD-ROM | disk | FTP | other *** search
- /*
- * EOT_Swirl.ifx.pre
- * Written by Thomas Krehbiel
- *
- * Animated Swirl Effect.
- *
- * Inputs:
- * Word(Arg(1),1) = Sequence number (?)
- * Word(Arg(1),2) = Total number of frames (N)
- *
- * Returns:
- * 0 if successful, non-zero on failure
- *
- */
-
- OPTIONS RESULTS
-
- base = 'Autofx_Swirl_'
-
- start = GETCLIP(base||'Start')
- end = GETCLIP(base||'End')
-
- IF start = "" THEN start = 0
- IF end = "" THEN end = 720
-
- Gadget.1 = 'INTEGER 150 5 50 14 "Starting Angle:"' start
- Gadget.2 = 'INTEGER 150 20 50 14 "Ending Angle:"' end
- Gadget.3 = 'END'
-
- NewComplexRequest '"Swirl"' Gadget 250 50
- IF rc ~= 0 THEN EXIT rc
-
- CALL SETCLIP(base||'Start', result.1)
- CALL SETCLIP(base||'End', result.2)
-
- EXIT
-